package com.ruoyi.student.domain.vo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生提交任务答案对象 t_student_answer_recode
 * 
 * @author ruoyi
 * @date 2023-09-13
 */
public class TStudentAnswerRecodeVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 任务id */
    @Excel(name = "任务id")
    private Long taskId;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** css答案 */
    @Excel(name = "css答案")
    private String answerCss;

    /** html答案 */
    @Excel(name = "html答案")
    private String answerHtml;

    /** js答案 */
    @Excel(name = "js答案")
    private String answerJs;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 是否有效0 无效 1有效 */
    @Excel(name = "是否有效0 无效 1有效")
    private Integer validFlag;

    /** 所属课程id */
    @Excel(name = "所属课程id")
    private String courseId;

    /** 所属课程名称 */
    @Excel(name = "所属课程名称")
    private String courseName;

    /** 所属单元id */
    @Excel(name = "所属单元id")
    private String unitId;

    /** 所属单元名称 */
    @Excel(name = "所属单元名称")
    private String unitName;

    public void setCourseId(String courseId)
    {
        this.courseId = courseId;
    }

    public String getCourseId()
    {
        return courseId;
    }
    public void setCourseName(String courseName)
    {
        this.courseName = courseName;
    }

    public String getCourseName()
    {
        return courseName;
    }
    public void setUnitId(String unitId)
    {
        this.unitId = unitId;
    }

    public String getUnitId()
    {
        return unitId;
    }
    public void setUnitName(String unitName)
    {
        this.unitName = unitName;
    }

    public String getUnitName()
    {
        return unitName;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setAnswerCss(String answerCss) 
    {
        this.answerCss = answerCss;
    }

    public String getAnswerCss() 
    {
        return answerCss;
    }
    public void setAnswerHtml(String answerHtml) 
    {
        this.answerHtml = answerHtml;
    }

    public String getAnswerHtml() 
    {
        return answerHtml;
    }
    public void setAnswerJs(String answerJs) 
    {
        this.answerJs = answerJs;
    }

    public String getAnswerJs() 
    {
        return answerJs;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setValidFlag(Integer validFlag) 
    {
        this.validFlag = validFlag;
    }

    public Integer getValidFlag() 
    {
        return validFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("studentId", getStudentId())
            .append("answerCss", getAnswerCss())
            .append("answerHtml", getAnswerHtml())
            .append("answerJs", getAnswerJs())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("validFlag", getValidFlag())
                .append("courseId", getCourseId())
                .append("courseName", getCourseName())
                .append("unitId", getUnitId())
                .append("unitName", getUnitName())
            .toString();
    }
}
